const sysMenu = () => import('../views/sys/menu/Index');
const sysUser = () => import('../views/sys/user/Index');
const sysRole = () => import('../views/sys/role/Index');
const sysOrg = () => import('../views/sys/org/Index');
const sysOpLog = () => import('../views/sys/oplog/Index');
const sysCode = () => import('../views/sys/code/Index');

export default [
    {
        path: '/sys/menu',
        name: 'sysMenu',
        meta: {
            title: '菜单管理'
        },
        component: sysMenu
    },
    {
        path: '/sys/user',
        name: 'sysUser',
        meta: {
            title: '用户管理'
        },
        component: sysUser
    },
    {
        path: '/sys/role',
        name: 'sysRole',
        meta: {
            title: '角色管理'
        },
        component: sysRole
    },
    {
        path: '/sys/org',
        name: 'sysOrg',
        meta: {
            title: '机构管理'
        },
        component: sysOrg
    },
    {
        path: '/sys/oplog',
        name: 'sysOpLog',
        meta: {
            title: '操作日志管理'
        },
        component: sysOpLog
    },
    {
        path: '/sys/code',
        name: 'sysCode',
        meta: {
            title: '代码维护'
        },
        component: sysCode
    }
]
